﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace Minecraft_Xenon
{
    /// <summary>
    /// 双缓冲面板
    /// NOTICE: ADDED 2012.10.10
    /// </summary>
    public class SmoothPanel : Panel
    {
        public SmoothPanel()
        {
            this.SetStyle(ControlStyles.AllPaintingInWmPaint |
                          ControlStyles.OptimizedDoubleBuffer |
                          ControlStyles.UserPaint, 
                          true);
        }
    }
}
